Fix a build failure on OpenBSD 4.x.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Mar 2013 02:03:05 +0000 (18:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Mar 2013 02:03:05 +0000 (18:03 -0800)
commit1bbbef118ca38c64d74778d9cb4676a672280e60
tree0d81cbf485ffe5d116b301cab1a44fe771f0e066
parent2dbb4b265a7e2811466014d852adea73af4b6de1
Fix a build failure on OpenBSD 4.x.

* sysdep.c (KERN_PROC, kinfo_proc) [BSD_SYSTEM && !KERN_PROC]:
Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9.
list-system-processes still returns nil, but at least it doesn't crash.
Problem reported by Nelson H. F. Beebe in
<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>.
src/ChangeLog
src/sysdep.c